home *** CD-ROM | disk | FTP | other *** search
- # Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
- #
- # Permission to use, copy, modify, and distribute this material
- # for any purpose and without fee is hereby granted, provided
- # that the above copyright notice and this permission notice
- # appear in all copies, and that the name of Bellcore not be
- # used in advertising or publicity pertaining to this
- # material without the specific, prior written permission
- # of an authorized representative of Bellcore. BELLCORE
- # MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY
- # OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS",
- # WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
- #
- # Prototype Mailcap file
- # Note that support for text & multipart are "built in" to metamail,
- # as are rudimentary support for message, and application.
- # However, any of these may be overridden in mailcap.
- #
- # Note that users may override or extend this with a .mailcap
- # file in their own directory. However, there is NO NEED
- # for them to copy entries from this file, as metamail will
- # pick up entries from both the system and personal mailcap files.
- #
- # Note that the effect of the following is to send ALL audio subtypes to the
- # showaudio program, but to compose audio (e.g. in the mailto program)
- # using "audio/basic" as the type.
- audio/*; showaudio %s
- audio/basic; showaudio %s; compose=audiocompose %s; edit=audiocompose %s; description="An audio fragment"
-
- # The following line is for sites where xv understands jpeg but xloadimage is preferred.
- image/jpeg; showpicture -viewer xv %s
- # The following sends all other image subtypes to showpicture.
- image/*; showpicture %s
- # The following all appear AFTER the corresponding READING entries, and
- # are for use in messages composition, e.g. in the "mailto" program
- # In the following lines, the exit 0 junk is necessary because xwd
- # doesn't always exit with a valid exit status!
- # For sites with current (X11R5) pbm utilities
- image/gif; showpicture %s; compose="xwd -frame | xwdtopnm | ppmtogif > %s\; exit 0"; description="An X11 window image dump in GIF format"
- # The following line should be used instead of the previous by sites
- # with old (X11R4) pbm utilities
- #image/gif; showpicture %s; compose="xwd -frame | xwdtoppm | ppmtogif > %s\; exit 0"; description="An X11 window image dump in GIF format"
- # For receiving X11 window image dumps from older versions of Andrew messages
- image/x-xwd; showpicture %s; description="An X11 window image dump in X-XWD format"
-
- message/partial; showpartial %s %{id} %{number} %{total}
- message/external-body; showexternal %s %{access-type} %{name} %{site} %{directory} %{mode} %{server}; \
- needsterminal; composetyped = extcompose %s; \
- description="A reference to data stored in an external location"
-
- # If you have an interactive Postscript interpreter, you should think carefully
- # before replacing lpr with it in the following line, because PostScript
- # can be an enormous security hole. It is RELATIVELY harmless
- # when sent to the printer...
- application/postscript ; lpr %s ; description="A Postscript File";\
- compose="getfilename Postscript %s"
-
- # The following should be commented out if you do NOT have atomicmail
- # and should be uncommented if you DO have ATOMICMAIL
- #application/atomicmail; atomicmail %s; compose=surveyor.am -p %s; description="An interactive ATOMICMAIL survey"
- # The following should be used instead if you have atomicmail but not TK.
- #application/atomicmail; atomicmail %s ; needsterminal
- #application/atomicmail; atomicmail %s; compose=surveyor.am -p %s; description="An interactive ATOMICMAIL survey"; needsterminal
-
- # The following give rudimentary capabilities to read old andrew format
- # even to non-Andrew sites, since "ezview" comes with metamail.
- x-be2; ezview %s ; copiousoutput
- application/andrew-inset; ezview %s ; copiousoutput; edit=ez -d %s; compose="ez -d %s"; description="An Andrew inset/document"
-
- # The following gives rudimentary capability for receiving
- # text mail in the ISO-8859-1 character set, which covers many European
- # languages, and the ISO-8859-8 character set, which includes Hebrew
- # Note that the pipe to tr ensures that the "ISO" is case-insensitive.
- text/richtext; shownonascii iso-8859-8 -e richtext -p %s; test=test "`echo %{charset} | tr A-Z a-z`" = iso-8859-8; copiousoutput
- text/richtext; shownonascii iso-8859-1 -e richtext -p %s; test=test "`echo %{charset} | tr A-Z a-z`" = iso-8859-1; copiousoutput
- text/plain; shownonascii iso-8859-8 %s; test=test "`echo %{charset} | tr A-Z a-z`" = iso-8859-8; copiousoutput
- text/plain; shownonascii iso-8859-1 %s; test=test "`echo %{charset} | tr A-Z a-z`" = iso-8859-1; copiousoutput
-
- # The following displays Japanese text at sites where the "kterm" program is installed:
- text/plain; kterm -geometry +0+0 -e more %s /dev/null; test=test "`echo %{charset} | tr A-Z a-z`" = iso-2022-jp
-
-
- text/richtext; richtext %s; copiousoutput
- # If you have Andrew at your site, you MIGHT prefer to replace the
- # above line with the following one, but probably won't because
- # ez takes so long to start up.
- # text/richtext; richtoatk < %s | ezview - ; copiousoutput
-
- # The following is a VERY rough cut at showing mail from Sun's openwindows mailtool
- x-sun-attachment; sun-to-mime.csh %s
- audio-file; sun-audio-file.csh %s
- postscript-file; lpr %s
- default; cat %s; copiousoutput
-
- # The following is used for distributing metamail patches
- # It should probably be used only by those administering metamail at a site.
- # You will need to replace "source-tree-root" with the real root of your
- # actual metamail source tree.
- # You can also modify this line to get metamail patches from some trusted
- # server other than thumper, if there is one -- man patch-metamail" for help.
- application/x-metamail-patch; cat %s > /dev/null \; patch-metamail source-tree-root %{patchnumber}; needsterminal
-
- # The following is for support of MacMIME, especially those
- # the Columbia AppleTalk package (CAP) installed.
- # For more info about MacMIME, send email to paf@nada.kth.se
- #
- # If you don't have CAP, and haven't changed recieveAppleSingle
- # or sendAppleSingle, you should comment out this line.
- application/applefile; recieveAppleSingle %s; compose="sendAppleSingle %s";description="An Apple Macintosh file in AppleSingle format"
-